//
//  JXView.h
//  CookGuest
//
//  Created by LiuYanJun on 15/9/12.
//  Copyright (c) 2015年 杨元石. All rights reserved.
//

#import "BaseView.h"
#import "DEFINE.h"
#import "AFN.h"
#import "KnowledgeModel.h"
#import "KnowledgeTableViewCell.h"
#import "UIButton+WebCache.h"
#import "MJRefresh.h"
#import "Knowledge_SecViewController.h"

//协议......1
@protocol JXViewDelegate <NSObject>


//声明协议.....2
-(void)pushViewController:(Knowledge_SecViewController * )viewController;

@end

@interface JXView : BaseView<UITableViewDataSource,UITableViewDelegate>

@property (nonatomic, retain) UITableView *JXtableView;
@property (nonatomic, retain) NSMutableArray *knowledgeArray;

@property (nonatomic, assign) NSInteger count;

@property (nonatomic, retain) UIView *bgView;
@property (nonatomic, retain) UIButton *titlePicBtn;
@property (nonatomic, retain) UILabel *leftLable;
@property (nonatomic, retain) UIButton *centerLableBtn;
@property (nonatomic, retain) UILabel *rightLable;

//把第一个字典的code存起来
@property (nonatomic, retain) NSString *codeStr;

//声明协议.....3
@property (nonatomic,retain) id<JXViewDelegate>delegate;

@property (nonatomic , retain)UIView *animation;

-(id)initWithFrame:(CGRect)frame;




@end
